package com.lhkj.ct.base.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.lhkj.ct.base.json.databind.BaseEnumDeserializer;

import java.io.Serializable;

/**
 * <p>
 *     枚举接口
 * </p>
 */
@JsonDeserialize(using = BaseEnumDeserializer.class)
public interface IBaseEnum<T extends Serializable, D> extends IEnum<T> {

    D getLabel();

}
